
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(CBS_IntoFactoryUser))]
    public class CBS_IntoFactoryUserDto : Dto
    {
        /// <summary>
        /// 承包商名录ID
        /// </summary>
        public Guid? CBSListId { get; set; }
        /// <summary>
        /// 人员名录ID
        /// </summary>
        public Guid? CBSUserId { get; set; }
        /// <summary>
        /// 作业区域
        /// </summary>
        public String Region { get; set; }
        [ConcurrentKeyToValue("97", "Region")]
        public String RegionText { get; set; }
        /// <summary>
        /// 入场时间
        /// </summary>
        public DateTime? AdmissionTime { get; set; }
        /// <summary>
        /// 证件有效期
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 入场确认人
        /// </summary>
        public Guid? AdmissionConfirmer { get; set; }
        [ConcurrentKeyToValue("9008", "AdmissionConfirmer")]
        public String AdmissionConfirmerText { get; set; }
        /// <summary>
        /// 出厂时间
        /// </summary>
        public DateTime? DepartureTime { get; set; }
        /// <summary>
        /// 出厂确认人
        /// </summary>
        public Guid? FactoryConfirmer { get; set; }
        [ConcurrentKeyToValue("9008", "FactoryConfirmer")]
        public String FactoryConfirmerText { get; set; }

        public DateTime? TimeArrayBegin { get; set; }
        public DateTime? TimeArrayEnd { get; set; }
        
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public String CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        public string Mark01 { get; set; }

        public string Mark02 { get; set; }

        public string Mark03 { get; set; }

        public List<Guid?> CBSUserIds { get; set; }

        public CBS_ListDto CBS_List { get; set; }
        public CBS_UserDto CBS_User { get; set; }
    }
}
